 

package Programas;

public class conversiones {
    //convierte de float a double a string a int, chingon no°°?.
    
public static void main(String[] args) {


    Float fl =(float)0.0;
    System.out.print("Float: "+fl+"- ");

    Double dou= fl.doubleValue();
    System.out.print("Double: "+dou+"- ");

    String str= dou.toString();
    System.out.print("String: "+ str+"- ");

    System.out.println("int: "+Integer.parseInt(str.substring(0,str.length()-2))+".");
}
}
